package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallTaskDao;
import com.appkubes.mall.core.entity.MallTask;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallTaskService extends AbstractBaseService<BaseMallTaskDao, MallTask> {

    MallTask getOneByEntity(MallTask entity);

    List<MallTask> selectListByEntity(MallTask entity);

    IPage<MallTask> selectPageByEntity(IPage<MallTask> page);
    IPage<MallTask> selectPageByEntity(PageVO pageVO);

    IPage<MallTask> selectPageByEntity(MallTask entity, IPage<MallTask> page);
    IPage<MallTask> selectPageByEntity(MallTask entity, PageVO pageVO);

    IPage<MallTask> selectPageByEntity(MallTask entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallTask entity);
}
